<template>
	<view class="neterror">
		<image src="@/public/images/components/qsy_wlyc.png" mode="aspectFit"></image>
		<text>网络异常，请检查您的网络设置～</text>
		<button type="default" @tap="refresh">刷新</button>
	</view>
</template>

<script>
	/**
	 * NetError 网络异常
	 * @description 网络异常提示用户刷新页面
	 */
	export default {
		name:"NetError",
		data() {
			
		},
		methods: {
			refresh() {
				window.location.replace(location.href)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.neterror{
		max-width: $max-width;
		margin: $pc-margin;
		display: flex;
		align-items: center;
		flex-direction: column;
		padding-top: 200rpx;
		image{
			width: 480rpx;
			height: 320rpx;
		}
		text{
			margin-top: 30rpx;
			font-size: 26rpx;
			line-height: 26rpx;
			color: #B3B3B3;
		}
		button{
			margin-top: 30rpx;
			width: 320rpx;
			height: 88rpx;
			background: #0055FF;
			border-radius: 44rpx;
			font-size: 32rpx;
			color: #FFFFFF;
			line-height: 88rpx;
		}
	}
</style>
